package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 拒单或转介对象 service_refuse
 * 
 * @author ZDL
 * @date 2024-12-09
 */
public class ServiceRefuse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 拒单或转介主键ID */
    private Long refuseId;

    /** 类型：0拒单 1转介 */
    @Excel(name = "类型：0拒单 1转介")
    private String refuseType;

    /** 护士ID */
    @Excel(name = "护士ID")
    private Long refuseNurseid;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long refuseOrderid;

    /** 原因 */
    @Excel(name = "原因")
    private String refuseReason;

    /** 创建者 */
    @Excel(name = "创建者")
    private String refuseCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refuseCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String refuseUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refuseUpdateTime;

    /** 备注 */
    @Excel(name = "备注")
    private String refuseRemark;

    public void setRefuseId(Long refuseId) 
    {
        this.refuseId = refuseId;
    }

    public Long getRefuseId() 
    {
        return refuseId;
    }
    public void setRefuseType(String refuseType) 
    {
        this.refuseType = refuseType;
    }

    public String getRefuseType() 
    {
        return refuseType;
    }
    public void setRefuseNurseid(Long refuseNurseid) 
    {
        this.refuseNurseid = refuseNurseid;
    }

    public Long getRefuseNurseid() 
    {
        return refuseNurseid;
    }
    public void setRefuseOrderid(Long refuseOrderid) 
    {
        this.refuseOrderid = refuseOrderid;
    }

    public Long getRefuseOrderid() 
    {
        return refuseOrderid;
    }
    public void setRefuseReason(String refuseReason) 
    {
        this.refuseReason = refuseReason;
    }

    public String getRefuseReason() 
    {
        return refuseReason;
    }
    public void setRefuseCreateBy(String refuseCreateBy) 
    {
        this.refuseCreateBy = refuseCreateBy;
    }

    public String getRefuseCreateBy() 
    {
        return refuseCreateBy;
    }
    public void setRefuseCreateTime(Date refuseCreateTime) 
    {
        this.refuseCreateTime = refuseCreateTime;
    }

    public Date getRefuseCreateTime() 
    {
        return refuseCreateTime;
    }
    public void setRefuseUpdateBy(String refuseUpdateBy) 
    {
        this.refuseUpdateBy = refuseUpdateBy;
    }

    public String getRefuseUpdateBy() 
    {
        return refuseUpdateBy;
    }
    public void setRefuseUpdateTime(Date refuseUpdateTime) 
    {
        this.refuseUpdateTime = refuseUpdateTime;
    }

    public Date getRefuseUpdateTime() 
    {
        return refuseUpdateTime;
    }
    public void setRefuseRemark(String refuseRemark) 
    {
        this.refuseRemark = refuseRemark;
    }

    public String getRefuseRemark() 
    {
        return refuseRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("refuseId", getRefuseId())
            .append("refuseType", getRefuseType())
            .append("refuseNurseid", getRefuseNurseid())
            .append("refuseOrderid", getRefuseOrderid())
            .append("refuseReason", getRefuseReason())
            .append("refuseCreateBy", getRefuseCreateBy())
            .append("refuseCreateTime", getRefuseCreateTime())
            .append("refuseUpdateBy", getRefuseUpdateBy())
            .append("refuseUpdateTime", getRefuseUpdateTime())
            .append("refuseRemark", getRefuseRemark())
            .toString();
    }
}
